package mhwi.cards;

import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.monsters.AbstractMonster;
import mhwi.helper.ModHelper;
import mhwi.powers.BaDaoPower;
import mhwi.powers.ZhanWeiPower;

public class BaDaoCard extends HunterTemplateCard {

    public BaDaoCard(String ID, String NAME, String IMG_PATH, int COST, String DESCRIPTION,
                        CardType TYPE, CardColor COLOR, CardRarity RARITY, CardTarget TARGET) {
        super(ID, NAME, IMG_PATH, COST, DESCRIPTION, TYPE, COLOR, RARITY, TARGET);
    }

    public BaDaoCard(String ID, String NAME, String IMG_PATH, int COST, String DESCRIPTION,
                     CardType TYPE, CardRarity RARITY, CardTarget TARGET) {
        super(ID, NAME, IMG_PATH, COST, DESCRIPTION, TYPE, RARITY, TARGET);
    }

    @Override
    public boolean canUse(AbstractPlayer p, AbstractMonster m) {
        return ModHelper.hasPowers(BaDaoPower.POWER_ID, ZhanWeiPower.POWER_ID);
    }
}